package com.roocon.design_pattern.chapter06_two_termination;

import java.io.IOException;

public class AppServerClient {
  public static void main(String[] args) throws InterruptedException {
    AppServer server = new AppServer();
    server.start();
    Thread.sleep(10_000);
    try {
      server.shutdown();
    } catch (IOException e) {
      e.printStackTrace();
    }
  }
}
